- 
                Notifications
    
You must be signed in to change notification settings  - Fork 29
 
feat(lab-3976): add types to domain api #1970
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: feature/lab-3973-aa-sdk-user-i-see-an-easier-way-to-interact
Are you sure you want to change the base?
Conversation
| 
           Check out this pull request on   See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB  | 
    
efd4680    to
    2507cdc      
    Compare
  
    | 
           Ideally, we should have typing corresponding to requested fields (is it feasible) ?  | 
    
| 
           We should distinguish the methods : 
  | 
    
| 
           Exception are still painful in v2 : Not friendly exception raisedTraceback (most recent call last): The above exception was the direct cause of the following exception: Traceback (most recent call last): The relevant information is hidden in a lot of logs. With new client, it should be better and would have huge impact on SDK DX to add a clean exception handler : 
  | 
    
| 
           API seems complicated to use with multiple objects (we must deal with list of the same size) : why not something like or or even  | 
    
| 
           
 but when we run into an error, the code stops with an exception We should always return an exception on a fail, it'll be better for DX. For example, user could do : and think it worked, but didn't find out that it fails. The best DX would be something like this :  | 
    
| 
           The model representation could be prettier : Ideally, should be :  | 
    
| 
           
  | 
    
| 
           why keeping a large  -> we should remove generic update methods like  e.g   | 
    
| 
           🔍 Investigation for Claude Code : Pydantic V2 usage over TypedDict  | 
    
| 
           
  | 
    
| 
           Consider rename   | 
    
| 
           I made a first review with a focus on  A lot of comments are about global re-definition of SDK client V2 and should be discussed in tech weekly 👀  | 
    

Claude Code 4.5 Sonnet MR description (08/10)
📋 Analyse Complète de la Feature LAB-3976
🎯 Description Générale de la MR
Cette MR introduit une refonte architecturale majeure du Kili Python SDK en ajoutant une nouvelle API orientée domaine (Domain API) qui coexiste avec l'API
legacy existante. L'objectif est de fournir une interface plus moderne, typée et organisée pour les utilisateurs du SDK, tout en maintenant une compatibilité
ascendante complète.
🏗️ Explication Détaillée de la MR
Problématique Résolue
L'ancienne architecture du SDK présentait plusieurs limitations :
Solution Proposée
La nouvelle architecture introduit :